package com.example.service.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * @TableName t_url
 */
@TableName(value ="t_url")
@Data
@EqualsAndHashCode
@ToString
public class TUrl implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id")
    private String id;

    /**
     * 原网址
     */
    @TableField(value = "raw_url")
    private String rawUrl;

    /**
     * 短链网址
     */
    @TableField(value = "map_url")
    private String mapUrl;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}